﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using DoAn_LyThuyet.HeThongGiaoDien;

namespace DoAn_LyThuyet
{
    public partial class frmmenu : Form
    {
        public frmmenu()
        {
            InitializeComponent();
        }
        
        private void thoátToolStripMenuItem_Click_1(object sender, EventArgs e)
        {
            this.Close();

        }        
        
        //private void frmmenu_FormClosing(object sender, FormClosingEventArgs e)
        //{
        //    DialogResult dr = MessageBox.Show("Bạn có muốn thoát hay không?", "Thoát chương trình", MessageBoxButtons.OKCancel, MessageBoxIcon.Question);
        //       if (dr == DialogResult.Cancel)
        //      { e.Cancel = true; }
        //}    

        

        private void tiếpNhậnTàiSảnToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmTiepNhanTaiSan tn = new frmTiepNhanTaiSan();
            tn.MdiParent = this;
            tn.Show();
        }

        private void phânBổTàiSảnToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmPhanBoTaiSan pb = new frmPhanBoTaiSan();
            pb.MdiParent = this;
            pb.Show();
        }
        private void thốngKêTàiSảnToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmThongKeTaiSan tk = new frmThongKeTaiSan();
            tk.MdiParent = this;
            tk.Show();
        }
        private void traCứuTàiSảnToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmTraCuTaiSan tc = new frmTraCuTaiSan();
            tc.MdiParent = this;
            tc.Show();
        }

        private void cậpToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmCapNhatTaiSan cn = new frmCapNhatTaiSan();
            cn.MdiParent = this;
            cn.Show();
        }

        private void báoCáoToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmBaoCao bc = new frmBaoCao();
            bc.MdiParent = this;
            bc.Show();
        }

        

       

        

        
    }
}